package com.chen10.gobang.common.enums.response;

import lombok.Data;
import lombok.Getter;

@Getter
public enum SuccessMsgEnum {
    //用户模块
    USER_LOGIN_SUCCESS("登录成功"),
    USER_REGISTER_SUCCESS("注册成功"),
    UPDATE_USERNAME_SUCCESS("设置用户名成功"),
    UPDATE_USER_AVATAR_SUCCESS("设置用户头像成功"),
    UPDATE_PASSWORD_SUCCESS("密码更新成功"),
    UPDATE_AVATAR_SUCCESS("上传头像成功"),

    //邮箱模块
    EMAILCODE_SEND_SUCCESS("邮箱验证码发送成功"),

    //好友模块
    SEND_FRIEND_REQUEST_SUCCESS("发送好友请求成功"),
    HANDLE_FRIEND_REQUEST_SUCCESS("处理好友请求成功"),
    FRIEND_REQUEST_REFUSE_SUCCESS("已拒绝好友请求"),
    FRIEND_DELETE_SUCCESS("删除好友成功"),
    GET_FRIEND_LIST_SUCCESS("获取好友列表成功"),
    GET_FRIEND_REQUEST_LIST_SUCCESS("获取好友请求列表成功"),

    //对战模块
    CREATE_ROOM_SUCCESS("创建房间成功"),
    QUIT_ROOM_SUCCESS("退出房间成功"),
    INVITE_SUCCESS("邀请成功"),
    ACCEPT_INVITE_SUCCESS("接受邀请成功"),
    START_GAME_SUCCESS("对局开始"),
    READY_SUCCESS("已准备"),
    CANCEL_READY_SUCCESS("已取消准备"),
    MATCH_SUCCESS("匹配成功");


    private final String msg;
    SuccessMsgEnum(String msg) {
        this.msg = msg;
    }
}
